* {
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  // background-color: #555;
}

.loading-no-left-menu {
  .el-loading-spinner {
    left: 10px;
  }
}
.loading-left-menu {
  .el-loading-spinner {
    left: 110px;
  }
}

// select框
.el-select-dropdown__item {
  height: 28px !important;
  line-height: 28px !important;
}

#app {
  .banner-notice .el-badge__content.is-fixed {
    border: 0;
    border-radius: 4px;
    left: 10px;
    padding: 0 5px;
    width: fit-content;
    transform: translateY(0) scale(0.8);
  }
  .banner-notice .el-badge__content {
    height: 17px;
    width: content-box;
    line-height: 17px;
    padding: 0;
  }

  .bounce.banner-notice .el-badge__content.is-fixed {
    border: 0;
    right: 0;
    animation: bounce 1s infinite;
  }

  @keyframes bounce {
    10% {
      top: 0;
    }
    50% {
      top: 5px;
    }
    75% {
      top: 2.5px;
    }
    80% {
      top: 5px;
    }
    100% {
      top: 0;
    }
  }

  .mainMenu {
    .el-tabs--border-card {
      border: none;
      box-shadow: none;
      background: none;
      .el-tabs__header {
        background: none;
        border: none;
        .el-tabs__item {
          font-size: 16px;
          border: none;
          height: 42px;
          line-height: 42px;
          padding: 0 20px !important;
          color: $--color-white;
          .menu-icon {
            margin-right: 5px;
          }
          &.is-active {
            color: $--color-white;
            border: none;
          }
          &:not(.is-disabled):hover {
            color: $--color-white;
          }
        }
      }
    }
    .el-tabs__nav-next,
    .el-tabs__nav-prev {
      line-height: 42px;
      color: $--color-white;
    }
    .el-tabs__content {
      display: none;
    }
  }

  // 火狐页码红色兼容性
  .el-pagination__editor.is-in-pagination input {
    box-shadow: none;
  }
  .el-table--mini th {
    background: #f9f9f9;
    color: #606266;
  }
  .el-table .caret-wrapper {
    margin: -10px 0;
  }

  .el-select {
    width: 100%;
  }
  // .filter-tree .el-tree-node__label{
  //     font-size: 12px;
  // }

  .el-form-item--mini .el-form-item__label {
    font-size: 12px;
  }

  .el-date-editor--daterange,
  .el-date-editor--datetime,
  .el-date-editor--date {
    width: 100%;
  }
  .el-input--mini {
    height: 28px;

    &.el-textarea {
      height: auto;
    }
  }

  // tabs
  .el-tabs--border-card {
    box-shadow: none;
    border: 1px solid $--common-border-5;
    & > .el-tabs__header {
      background: $--color-white;
      border-bottom: 1px solid $--common-border-5;
    }
  }
  .el-tabs__item {
    height: 30px;
    line-height: 30px;
  }
  .button-container {
    text-align: center;
  }
  //  tree-input
  .tree-input.el-input {
    margin-bottom: 10px;
  }
  .one-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: inline-block;
  }
  .el-dialog__body {
    padding: 15px 20px;
  }
  //dialog 查询和标题的距离调整
  .dialog .el-dialog__body {
    padding: 0 20px 30px 20px;
  }
  .tree-container {
    padding: 5px;
  }
  //tree border
  .filter-tree {
    .el-tree-node__label {
      font-size: 12px;
    }
  }
}

.menu-list.el-dropdown-menu.el-dropdown-menu--mini {
  padding: 4px 0;
}
